<?php
class xl_statistics{
    function read_online(){
        global $dbh;
        $sql='SELECT status FROM admin';
        $sth=$dbh->prepare($sql);
        $sth->execute();
        return $sth->fetchAll(PDO::FETCH_ASSOC);
    }
    
}